﻿#region Using Statements
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
using System.Collections.Generic;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using System;
using RhinoXNA.RhinoUtilities;
#endregion

namespace RhinoXNA.RhinoGraphics.Rhino2D
{
    public abstract class RhinoPlayer2D : SpriteEntity
    {
        //protected PlayerCamera _cam;
        protected SpriteEntity _avatar;

        //protected ILevel _level;

        public float MovementSpeed { get; set; }

        public int Score { get; set; }

        protected Texture2D _tex;

        /*public PlayerCamera Camera
        {
            get { return _cam; }
        }*/

        //private ModelEntity _playerModel;

        /*public RhinoPlayer2D(SpriteEntity avatar)
        {
            _avatar = avatar;
            this.MovementSpeed = -5.0f;
            //Vector3 camLookAt = new Vector3(position.X-5, position.Y+15.0f, position.Z);
           
            //_cam = new PlayerCamera(new Vector3(position.X-5, position.Y+15.0f, position.Z - 20.0f), camLookAt);

            //_content = content;
            //_level = level;
        }*/

        public RhinoPlayer2D(RhinoXNAAdapter adapter, List<String> parameters)
            : base (adapter, parameters)
        {

        }

        protected override void Animate(GameTime gameTime)
        {
            AnimateImpl(gameTime);
        }

        protected abstract void AnimateImpl(GameTime gameTime);
    }
}
